﻿<controls:ChildWindow x:Class="SomethingSpacial.Views.Default.ShowDirections"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:VirtualEarth="clr-namespace:Microsoft.VirtualEarth.MapControl;assembly=Microsoft.VirtualEarth.MapControl"
    Width="800" Height="600" 
    Title="ShowDirections">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions> 
        <VirtualEarth:Map x:Name="MyMap" Grid.Column="0" 	Grid.Row="0" Grid.RowSpan="3" Width="800" Height="560" HorizontalAlignment="Left" VerticalAlignment="Top" >
            <VirtualEarth:Map.Children>
                <VirtualEarth:MapLayer x:Name="PushpinLayer">
                </VirtualEarth:MapLayer>
            </VirtualEarth:Map.Children>
        </VirtualEarth:Map>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>
